package com.android.videotest.activity.files;

import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import java.io.File;
import java.util.List;

public class FilesAdapter extends RecyclerView.Adapter<FilesAdapter.FileHolder> {
    private List<File> mFiles;
    @NonNull
    @Override
    public FileHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {

        return null;
    }

    @Override
    public void onBindViewHolder(@NonNull FileHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return mFiles == null ? 0 : mFiles.size();
    }

    class FileHolder extends RecyclerView.ViewHolder {


        public FileHolder(@NonNull View itemView) {
            super(itemView);
        }
    }
}
